scsi: hisi_sas: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:10:17 +0000 (15:10 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 18 Jul 2019 22:23:17 +0000 (23:23 +0100)
commit06b96218e154b1a8f540e8121c718d909db48cd1
treeded144b002a663179a7d2f6d6972082a7258d5f2
parent0db3d2910c3c6cd4caa4c4e5ebf9eba867da6490
scsi: hisi_sas: use dma_set_mask_and_coherent

The driver currently uses pci_set_dma_mask despite otherwise using the
generic DMA API.  Switch it over to the better generic DMA API.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Gbp-Pq: Topic bugfix/arm64/huawei-taishan
Gbp-Pq: Name 0009-scsi-hisi_sas-use-dma_set_mask_and_coherent.patch
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c